package guoanmaker.operator.helper.common.util;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

/**
 * @description: 根据luckName参数获得相应活动url
 * @author ws
 * @date 2017-11-24
 */
public class ActiveURLUtil {
	public static String getPath(String luckName){
		Properties properties = new Properties();
		InputStream is = ActiveURLUtil.class.getResourceAsStream("/activePageURL.properties");
		 try {
			properties.load(is);
		} catch (IOException e) {
			e.printStackTrace();
		}
         String url = properties.getProperty(luckName);
         return url;
	}
	
}
